package cn.dkk.structure_design.decorator.pojo;

/**
 * @author dkk
 * @date 2022/7/10
 * @desc
 */
public class FireRice extends FastFood{

    public FireRice() {
        super("炒饭", 10);
    }

    @Override
    public double cost() {
        return getPrice();
    }
}
